<?php
namespace App\Services\Goods;
use App\Model\Goods as G;
class Goods {
    public function goodsShow(){
        return G::get();
    }
    public function goodFind($id){

        $arr= G::where('id',$id)->first()->toArray();
        return $arr;
    }
}